package cn.itsource.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor//所有参数的有参构造方法
@NoArgsConstructor//无参构造
public class AxajResult {
    private Boolean success = true;
    private String msg;
    private Object objResult;
    public AxajResult(Boolean success,String msg){
        this.success=success;
        this.msg=msg;
    }
    public AxajResult setObjResult(Object objResult){
        this.objResult =objResult;
        return this;
    }
}
